<{include file="top.html" }>
</head>
<body>
    <div class="xy-panel">
      <div class="xy-panel-top" style="display: none">
        <div class="xy-titlebar">
          <div class="xy-titlebar-left">
          	<a class="insertBefore_left_arrow_gray" href="javascript:void(0);"></a>
           </div>
          <div class="xy-titlebar-title">个人中心</div>
          <div class="xy-titlebar-right"></div>
        </div>
      </div>
      <div class="xy-panel-content" style="bottom:0;">
        <div class="xy-row vDirectionRow">
            <div class="food-topic" style="height:17rem; text-align:center;background:url(<{$preStaticUrl}>Wap/images/centre_bg.jpg) no-repeat; background-size:100%;">
                <figure>
                    <img src="<{$userinfo.uid|headpic}>" />
                    <a class="SetUp" href="<{U('User/info')}>"></a>
                    <{if $isInfoPerfect}>
                        <span class="NumericalReminded2">完善信息得积分哦！</span>
                    <{/if}>
                    <figcaption style="color:#333; padding-bottom:1.5rem;display:block; width:100%;"><{$userinfo.nickname}></figcaption>
					<span class="btn_color color-1"><{$userinfo.userTagHtml}></span>
                </figure>
            </div>
            <ul class="nav" style="border-bottom:.1rem solid #e5e5e5;">
                <li><a class="VIP_icon" href="#">Lv.<{$userinfo.levelHtml}></a></li>
                <li><a class="integration" href="<{U('Point/pointDetail')}>"><i><{$userinfo.point}></i>积分</a></li>
                <li><a class="card_icon" href="<{U('Card/cardList')}>">卡劵<i></i></a></li>
            </ul>
            <ul class="con_ui-list" style="margin:1rem 0; border-top:.1rem solid #e5e5e5;">
                    <li class="ui-list" data-uri="<{U('User/eventList')}>">
                        <i class="centralityicon_1">我的报名</i>
                    </li>
                     <li class="ui-list" data-uri="<{U('PointMall/exchangeLog')}>">
                        <i class="centralityicon_6">我的兑换</i>
                    </li>
                    <li class="ui-list" data-uri="<{U('Notice/message')}>">
                        <i class="centralityicon_7">我的消息</i>
                        <{if $new}><span style="display:block; width:10px; height:10px; background:#d50404; border-radius:50%; position: absolute; right: 30px; margin-top: 10px;"></span><{/if}>
                    </li>
                    <{* <li class="ui-list" data-uri="<{U('User/concern')}>">
                        <i class="centralityicon_5">我的关注</i>
                    </li>*}>
                    <{* <li class="ui-list" data-uri="<{U('User/collection')}>">
                        <i class="centralityicon_2">我的收藏</i>
                    </li> *}>
                     <{* <li class="ui-list" data-uri="<{U('User/articleList')}>">
                        <i class="centralityicon_3">我的发稿</i>
                    </li> *}>
                    <{* <li class="ui-list" data-uri="<{U('User/follower')}>">
                        <i class="centralityicon_4">我的粉丝</i>
                    </li> *}>
                    <{if $signIsON}>
                        <li class="ui-list" data-uri="mySign" id="mySign">
                            <i class="centralityicon_10">我的签到</i>
                        </li>
                    <{/if}>
                <li>&nbsp;<br />&nbsp;<{*避免底部显示不全*}></li>
            </ul>
            <{if !$isWechat}>
            <div class="ui-button ui-button-2" style="padding:1rem 1rem 2rem;">
                <a style="display:block; width:100%; height:3.5rem; text-align:center; background:#37cbbb; color:#FFF; line-height:3.5rem; border-radius:.5rem;" href="<{U('User/logout')}>">退出登录</a>
            </div>
            <{/if}>
        </div>
    </div>
    <!-- 签到弹框 -->
    <{include file="signBody.html"}>
    <{include file="../footer.html" }>
<script>
    $(function(){
        $(".con_ui-list li").on('click',function(){
            if($(this).attr('data-uri') == "mySign"){
//                $(".PastBoxBlack").css('display','block');
                $(".PastBoxBlack").removeClass("display");
            } else{
                window.location.href = $(this).attr('data-uri');
            }
        });
    });
</script>
</body>
</html>
